package eu.jpereira.trainings.designpatterns.creational.abstractfactory.json;

import eu.jpereira.trainings.designpatterns.creational.abstractfactory.AbstractFactory;
import eu.jpereira.trainings.designpatterns.creational.abstractfactory.ReportBody;
import eu.jpereira.trainings.designpatterns.creational.abstractfactory.ReportFooter;
import eu.jpereira.trainings.designpatterns.creational.abstractfactory.ReportHeader;

public class JSONAbstract extends AbstractFactory {

	public ReportBody getBody() {
		return new JSONReportBody();
	}
	public ReportFooter getFooter() {
		return new JSONReportFooter();
	}
	public ReportHeader getHeader() {
		return new JSONReportHeader();
	}
}
